﻿using KWT.DRG_DIP.DO.System;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using KWT.DRG_DIP.Common;

namespace KWT.DRG_DIP.PO.Basic
{
    /// <summary>
    /// DIP分组标杆
    /// </summary>
    public class Sys_DIP_Para : Audit
    {
        [Key]
        public string ParaID { get; set; }
        /// <summary>
        /// 病种编码
        /// </summary>
        [DisplayName("病种编码")]
        public string Disease_Code { get; set; }

        /// <summary>
        /// 病种名称
        /// </summary>
        [DisplayName("病种名称")]
        public string Disease_Name { get; set; }
        /// <summary>
        /// 病种名称的拼音首字母
        /// </summary>
        public string PinYin
        {
            get { return _Tool.ToPinYin(Disease_Name); }
            protected set { }
        }
        /// <summary>
        /// 病种类型
        /// </summary>
        [DisplayName("病种类型")]
        public string Disease_Type { get; set; }
        /// <summary>
        /// 主要诊断编码
        /// </summary>
        [DisplayName("主要诊断编码")]
        public string Diag_Code { get; set; }
        /// <summary>
        /// 主要诊断名称
        /// </summary>
        [DisplayName("主要诊断名称")]
        public string Diag_Name { get; set; }
        /// <summary>
        /// 主要操作编码
        /// </summary>
        [DisplayName("主要操作编码")]
        public string Oper_Code { get; set; }
        /// <summary>
        /// 主要操作名称
        /// </summary>
        [DisplayName("主要操作名称")]
        public string Oper_Name { get; set; }

        /// <summary>
        /// 相关操作代码
        /// </summary>
        [DisplayName("相关操作代码")]
        public string Other_Code { get; set; }
        /// <summary>
        /// 相关操作名称
        /// </summary>
        [DisplayName("相关操作名称")]
        public string Other_Name { get; set; }
        /// <summary>
        /// 病种分值
        /// </summary>
        [DisplayName("病种分值")]
        [Precision(6)]
        public decimal Score { get; set; }

        /// <summary>
        /// 职工点值
        /// </summary>
        [DisplayName("职工点值")]
        [Precision(6)]
        public decimal ZGDZ { get; set; }
        /// <summary>
        /// 居民点值
        /// </summary>
        [DisplayName("居民点值")]
        [Precision(6)]
        public decimal JMDZ { get; set; }

        /// <summary>
        /// 职工付费标准
        /// </summary>
        [DisplayName("职工付费标准")]
        public decimal ZGFFBZ { get; set; }
        /// <summary>
        /// 居民付费标准
        /// </summary>
        [DisplayName("居民付费标准")]
        public decimal JMFFBZ { get; set; }
        /// <summary>
        /// 例均费用
        /// </summary>
        [DisplayName("例均费用")]
        public decimal LJFY { get; set; }
        /// <summary>
        /// 住院天数标杆值(天)
        /// </summary>
        [DisplayName("住院天数标杆值(天)")]
        public decimal ZYTSBGZ { get; set; }
        /// <summary>
        /// 高倍率
        /// </summary>
        [Precision(1)]
        [DisplayName("高倍率")]
        public decimal HighMag { get; set; }
        /// <summary>
        /// 低倍率
        /// </summary>
        [Precision(1)]
        [DisplayName("低倍率")]
        public decimal LowMag { get; set; }
        /// <summary>
        /// 特殊标签
        /// </summary>
        [DisplayName("特殊标签")]
        public string SpecialFlag { get; set; }
    }
}
